<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //includes  indexOf
        const mingzhu = ['西游记','红楼梦','三国演义','水浒传'];

        console.log(mingzhu.includes('西游记'));
        console.log(mingzhu.includes('飘'));

        console.log(mingzhu.indexOf('西游记'));

        //次方
        console.log(2 ** 10);
        console.log(Math.pow(2,10));




    </script>
</body>
</html>